package com.acme.exceptions;


@SuppressWarnings("serial")
public class NotEnoughFundsException extends BankException {
    private double amountWanted;
    
    public NotEnoughFundsException (double amountWanted) {
        this.amountWanted = amountWanted;
    }
    
    public double getAmountWanted() {
        return amountWanted;
    }

}
